package com.jinlei;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/*
    批量加载mapper接口
    @MapperScan
    单个加载  ————————> 在dao层接口上面
 */
// @MapperScan(basePackages = {"com.jinlei.dao"})
@SpringBootApplication
public class Pringboot06MybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(Pringboot06MybatisApplication.class, args);
    }

}
